package com.hzj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author hzj
 * @since 2021-03-19
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class VoteOption implements Serializable {
  public VoteOption(Long vsId, String voOption, Integer voOrder) {
    this.vsId = vsId;
    this.voOption = voOption;
    this.voOrder = voOrder;
  }

  public VoteOption() {
  }

  private static final long serialVersionUID = 1L;

      /**
     * 自身id
     */
        @TableId(value = "vo_id", type = IdType.AUTO)
      private Long voId;

      /**
     * 主题id
     */
      private Long vsId;

      /**
     * 选项内容
     */
      private String voOption;

      /**
     * 该项目获得的票数
     */
      private Integer voOrder;


}
